package com.gwtjs.icustom.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.gwtjs.icustom.pojo.App;

/**/
@Mapper
@Repository
public interface AppMapper {

	public List<App> queryAppList(App app);

	public App queryAppById(Integer id);

	public App queryAppName(String appName);

	public App queryByNameAndIp(App app);

	public Integer queryByNameAndIpCount(App app);

	public int addApp(App record);
	public int updateApp(App record);

	public int deleteApps(List<App> records);
	public int deleteApp(App app);

}
